package c0907m.group2.aitsm.core.entity;

import java.util.Date;

/**
 * Author: LongDH
 * Date: 5/1/11
 * Time: 4:20 PM
 */
public class SemesterInfo {
    private int id;
    private int classId;
    private Date startDate;
    private Date endDate;
    private String name;
    private String description;
    private boolean active;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }

    @Override
    public String toString() {
        return "SemesterInfo{" +
                "id=" + id +
                ", classId=" + classId +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", description='" + description + '\'' +
                ", active=" + active +
                '}';
    }
}
